BeforeFormRepostCallback

This callback is invoked when a web page with POST data is going to be reloaded and the user must confirm that the POST data can be resubmitted.

You can use this callback to display a confirmation dialog where you ask the user whether the web page can be reloaded or not.

The Params contains the re-post dialog parameters.

Use the repost method to allow resubmitting POST data.

Use the cancel method to cancel the page reloading.

If the callback throws an exception, the repost method will be invoked.

Inheritors

Types

Link copied to clipboard
An action providing a response to the BeforeFormRepostCallback.
Link copied to clipboard
interface Params
The parameters of the BeforeFormRepostCallback.

Functions

Link copied to clipboard
abstract fun on(params: P, tell: R)
Invoked when the callback needs a response for the given callback parameters.